import request from '@/utils/request'

// 查询用户列表
export function list(pageSize,pageNum) {
    const data = {
        pageSize,
        pageNum,
    }
    return request({
      url: '/system/user/list',
      method: 'get',
      params: data
    })
  }
// 删除用户
export function delUser(userId) {
  return request({
    url: '/system/user/'+userId,
    method: 'delete'
  })
}
// 查询用户列表
export function inquire(query) {
  return request({
    url: '/system/user/list',
    method: 'get',
    params: query
  })
}

